package org.nearby.note.utils;

public class Constant {
	public class command{
		public final static int SOCKET_ANONY = 0; //匿名操作
		public final static int SOCKET_CLOCKIN = 1; //打卡操作
		public final static int SOCKET_CLOCKIN_RETURN = 2; //服务端返回打卡结果
		public final static int SOCKET_SERVERINFO = 3; //服务器状态
	}
	
	public class return_sign{
		public final static int RETURN_SUCCESS = 0; //成功
		public final static int RETURN_FAILURE = -1; //失败
	}
	public final static String SOCKET_MSG_SPLIT = " "; //信息分隔符
	public final static String SOCKET_SERVER = "SERVER"; 
	public final static int MAX_PACKET = 1024; //单位B
	public final static int MAX_BODY_PACKET = 1000; //单位B
}
